<div class="well" style="display: none; background-color: #FCF8E3">
	<button type="button" class="close" data-dismiss="alert">&times;</button>
	<!-- <div class="pop-up"> -->
		<table class="table" style="margin-top: 20px">
			<tr>
				<th width="10%">
					#
				</th>
				<th width="60%">
					Заголовок
				</th>
				<th width="20%" style="text-align: center">
					Управление
				</th>
			</tr>
			<? foreach ($result as $key => $item): ?>
				<tr>
					<td><?= $item->id ?></td>
					<td><?= $item->$waymark ?></td>
					<td width="10%" style="text-align: center">
						<? $owned_id_field = $in_for_the_del['owned'].'_id' ?>
						<a href="javascript:void(0)" onclick="relationHasManyDel('<?= URL::base() ?>administration/ahasmany/del', this)" owned_id="<?= $item->$owned_id_field ?>">Del</a>
					</td>
				</tr>
			<? endforeach ?>
		</table>
		<input type="hidden" name="owner" value="<?= $in_for_the_del['owner'] ?>" />
		<input type="hidden" name="owned" value="<?= $in_for_the_del['owned'] ?>" />
		<input type="hidden" name="owner_id" value="<?= $in_for_the_del['owner_id'] ?>" />
	<!-- </div> -->
</div>